package com.testfileupload.uploadimg.design.visitor.define;

public class Visitor implements IVisitor{
    @Override
    public void visit(ConcreateElement1 concreateElement1) {
        concreateElement1.doSomething();
    }

    @Override
    public void visit(ConcreateElement2 concreateElement2) {
        concreateElement2.doSomething();
    }
}
